<template>
  <div>
    <router-view />
    <van-tabbar route>
      <!-- to是跳转的路由路径  icon是配置的字体图标 -->
      <van-tabbar-item to="/article" icon="notes-o">面经</van-tabbar-item>
      <van-tabbar-item to="/collect" icon="star-o">收藏</van-tabbar-item>
      <van-tabbar-item to="/like" icon="like-o">喜欢</van-tabbar-item>
      <van-tabbar-item to="/my" icon="user-o">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: 'LayoutView',
  data () {
    return {
      // active: 0
    }
  }
}
</script>

<style></style>
